Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

response_message

http.response_message

:
Message
 is
[Private constructor]
HTTP response message

Fields

NYI: CLEANUP: remove this arg?
the request message for which this response was generated
version_major
 i32
the major version
version_minor
 i32
the minor version
status_code
 i32
the status code of the response
reason_phrase
 String
the reason-phrase of the response
the header fields
the body of the response

redefines:

Functions

 => 
String
[Inherited from  Message]
String representation of the message header

redefines:

(max_body_bytes i32)
 => 
outcome String
[Inherited from  Message]
String representation of the whole message, i.e. header and body
 => 
String
[Inherited from  Message]
get the body of the message as a String
(max_body_bytes i32)
 => 
Sequence u8
[Inherited from  Message]
the whole message as a sequence of bytes
the start line of the message, for a response this is also called status line
the status line of the response message

Type Features

create an http response using a default values

request_message => nil
major => 1
minor => 1
reason_phrase via status code from reason phrases map
0.099dev (GIT hash 250922c42fb1dcef5ce7ce89820538f53498ca37)
last changed: 2026-08-14